package com.cspg.design.bean.projectBean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

@Entity(indexes = {
        @Index(value = "projectId", unique = true)
})
public class ProjectBean  {

    @Id(autoincrement = true)
    private  Long id;

    @NotNull
    private String projectId;
    private String projectTitle;
    private String projectName;
    private String projectStatus; //已经上传 done，完成 did， 进行中 doing
    private String affiliattedUnit;//所属单位
    private String projectInvestment; //项目投资
    private String projectCode ;//项目编号
    private String projectDate; //年份
    private String voltageLevel;//电压等级
    private String carDistance; //汽车运距
    private String handDistance; //人力运距
    private String userName;
    private String schemeName;
    private String schemaType;
    private String remark;
    @Generated(hash = 1949534206)
    public ProjectBean(Long id, @NotNull String projectId, String projectTitle,
            String projectName, String projectStatus, String affiliattedUnit,
            String projectInvestment, String projectCode, String projectDate,
            String voltageLevel, String carDistance, String handDistance,
            String userName, String schemeName, String schemaType, String remark) {
        this.id = id;
        this.projectId = projectId;
        this.projectTitle = projectTitle;
        this.projectName = projectName;
        this.projectStatus = projectStatus;
        this.affiliattedUnit = affiliattedUnit;
        this.projectInvestment = projectInvestment;
        this.projectCode = projectCode;
        this.projectDate = projectDate;
        this.voltageLevel = voltageLevel;
        this.carDistance = carDistance;
        this.handDistance = handDistance;
        this.userName = userName;
        this.schemeName = schemeName;
        this.schemaType = schemaType;
        this.remark = remark;
    }
    @Generated(hash = 882656566)
    public ProjectBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getProjectId() {
        return this.projectId;
    }
    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getProjectTitle() {
        return this.projectTitle;
    }
    public void setProjectTitle(String projectTitle) {
        this.projectTitle = projectTitle;
    }
    public String getProjectName() {
        return this.projectName;
    }
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
    public String getProjectStatus() {
        return this.projectStatus;
    }
    public void setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getSchemeName() {
        return this.schemeName;
    }
    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }
    public String getSchemaType() {
        return this.schemaType;
    }
    public void setSchemaType(String schemaType) {
        this.schemaType = schemaType;
    }
    public String getProjectInvestment() {
        return this.projectInvestment;
    }
    public void setProjectInvestment(String projectInvestment) {
        this.projectInvestment = projectInvestment;
    }
    public String getProjectCode() {
        return this.projectCode;
    }
    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }
    public String getProjectDate() {
        return this.projectDate;
    }
    public void setProjectDate(String projectDate) {
        this.projectDate = projectDate;
    }
    public String getVoltageLevel() {
        return this.voltageLevel;
    }
    public void setVoltageLevel(String voltageLevel) {
        this.voltageLevel = voltageLevel;
    }
    public String getCarDistance() {
        return this.carDistance;
    }
    public void setCarDistance(String carDistance) {
        this.carDistance = carDistance;
    }
    public String getHandDistance() {
        return this.handDistance;
    }
    public void setHandDistance(String handDistance) {
        this.handDistance = handDistance;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getAffiliattedUnit() {
        return this.affiliattedUnit;
    }
    public void setAffiliattedUnit(String affiliattedUnit) {
        this.affiliattedUnit = affiliattedUnit;
    }
}
